home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 2000 November: Tool Chest / Dev.CD Nov 00 TC Disk 2.toast / mac / Sample Code / QuickTime / QuickTimeIntro / Movie From DataRef / Clippings / CreateMovie.c / CreateDataRef.clp / CreateDataRef.clp.rsrc / TEXT_256.txt < prev   
Encoding:
Text File  |  2000-10-06  |  365 b   |  8 lines

  1.         // Create a data reference which we will use to create our movie. In this case,
  2.         // we'll construct a URL data reference. The URL data reference
  3.         // is simply a handle whose data is a URL describing a movie.
  4.         
  5.         dataRef = NewHandleClear(StrLength(url) + 1);
  6.         CheckError(MemError(), "NewHandleClear error");
  7.         BlockMoveData(url, *dataRef, StrLength(url) + 1);
  8.